<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2019/5/7
  Time: 14:44
  To change this template use File | Settings | File Templates.
--%>
<%
    /* ${name}取值时，会依次从page、request、session、application中取值 */
    application.setAttribute("name","应用程序");
    session.setAttribute("name","会话");
    request.setAttribute("name","请求");
    pageContext.setAttribute("name","页面");
%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>默认取值范围</title>
</head>
<body>
    <div>
        <label>名称：</label>${name}
    </div>

</body>
</html>
